Exercise for Neural Network for Pattern Recognition